#include "EIGCData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::FEM;

bool SG::DataStructure::FEM::operator== (const EIGCData::REGIONData& val1, const EIGCData::REGIONData& val2)
{
    FIELD_COMPARE (m_AAJ)
    FIELD_COMPARE (m_WAJ)
    FIELD_COMPARE (m_ABJ)
    FIELD_COMPARE (m_WBJ)
    FIELD_COMPARE (m_LJ)
    FIELD_COMPARE (m_NEJ)
    FIELD_COMPARE (m_NDJ)
    return true;
}

bool SG::DataStructure::FEM::operator== (const EIGCData& val1, const EIGCData& val2)
{
    FIELD_COMPARE (m_sId)
    FIELD_COMPARE_ARR (m_METHOD, 8)
    FIELD_COMPARE_ARR (m_NORM, 8)
    FIELD_COMPARE (m_G)
    FIELD_COMPARE (m_C)
    FIELD_COMPARE (m_E)
    FIELD_COMPARE (m_ND1)
    FIELD_COMPARE (m_domainId)
    return true;
}